<?php
function wpsc_fl_admin_notice() {

	if( wpsc_fl_check_options_exist() ) {
		wpsc_fl_update_options();
	}

}
add_action( 'admin_notices', 'wpsc_fl_admin_notice' );

function wpsc_fl_update_options() {

	$options = array();
	$options[] = array( 'old_name' => 'position' );
	$options[] = array( 'old_name' => 'display_productspage' );
	$options[] = array( 'old_name' => 'display_singleproduct' );
	$options[] = array( 'old_name' => 'show_faces' );
	$options[] = array( 'old_name' => 'width' );
	$options[] = array( 'old_name' => 'colour_scheme' );

	$old_prefix = 'vl_wpscflb';
	$new_prefix = 'wpsc_fl';

	wpsc_vl_migrate_prefix_options( $options, $old_prefix, $new_prefix );

}
?>